/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023.
 * Description: support ghes recheck for x86
 * Author: Abbott Liu <liuwenliang@huawei.com>
 * Create: 2023-09-14
 */
#ifndef INTERNAL_GHES_RECHECK_H
#define INTERNAL_GHES_RECHECK_H

#include <linux/acpi.h>
#include <acpi/actbl1.h>
#include <acpi/ghes.h>

#ifdef CONFIG_RTOS_HAL_GHES_CALLBACK
extern void call_ghes_recheck(struct acpi_hest_generic_status *estatus);
#else
static inline void call_ghes_recheck(
		struct acpi_hest_generic_status *estatus) {}
#endif
#endif /* INTERNAL_GHES_RECHECK_H */
